package java68_7;

public class TeacherTest {
    public static void main(String[] args) {
//        JavaTeacher jt=new JavaTeacher("老吴","北京航天桥中心");
//        jt.selfIntro();
//        jt.giveLession();
//        jt.workOnLinux();
        Teacher t=new JavaTeacher("小张","杭州西湖中心");
        t.selfIntro();
        t.giveLession();
        System.out.println(">>>"+t);
        Object o=new DocNetTeacher("小郭","上海中心");
        //>>>o.selfIntro();
        System.out.println(">>>>>>>>>>>>"+o);
        //t.workOnLinux();
    }
}
